package com.topc.problem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.topc.base.model.PageResult;
import com.topc.problem.model.dto.QueryProblemUserMidDto;
import com.topc.problem.model.po.ProblemUserMid;
import com.topc.problem.model.vo.ProblemCommitShowVo;
import com.topc.problem.model.vo.ProblemListShowVo;

import java.util.List;


public interface IProblemUserMidService extends IService<ProblemUserMid>{
    PageResult<ProblemUserMid> searchByPage(int pageSize, int pageCurrent, QueryProblemUserMidDto queryProblemUserMidDto);

    boolean insertCommit(ProblemUserMid problemUserMid);

    List<ProblemCommitShowVo> getProblemCommitList(String userNumber, Long problemId, Long competitionId);

}
